﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Quarto.aspx.cs" Inherits="TVH.Cadastro.Quarto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <asp:HiddenField ID="hdnID" runat="server" />
    <h1>
        Cadastro de Quarto</h1>
    <asp:Label ID="lblMensagem" runat="server"></asp:Label>
    <fieldset>
        <legend>Dados do Quarto</legend>
        <div class="field">
            <label>
                Prédio:</label>
            <asp:DropDownList runat="server" ID="ddlPredio" CssClass="size-350" AppendDataBoundItems="true">
                <asp:ListItem Text="Selecione" Value="0" />
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorddlPredio" runat="server"
                ControlToValidate="ddlPredio" ErrorMessage="*" SetFocusOnError="True" CssClass="erro"></asp:RequiredFieldValidator>
        </div>
        <div class="field">
            <label>
                Identificacao:</label>
            <asp:TextBox runat="server" ID="txtDescricao" MaxLength="30" CssClass="input-size-350" />
            <asp:RequiredFieldValidator ID="txtDescricaoRequiredFieldValidator" runat="server"
                ControlToValidate="txtDescricao" ErrorMessage="*" SetFocusOnError="True" CssClass="erro"></asp:RequiredFieldValidator>
        </div>
        <div class="field">
            <label>
                Nº Serial Televisão:</label>
            <asp:TextBox runat="server" ID="txtSerialTV" MaxLength="30" CssClass="input-size-350" />
        </div>
    </fieldset>
    <div class="actions">
        <a href="ListaQuarto.aspx" class="button botao-cinza">Voltar</a>
        <asp:Button ID="btnSalvar" Text="Salvar" CssClass="botao-azul" runat="server" OnClick="btnSalvar_Click" />
    </div>
    <script type="text/javascript">
        
    </script>
</asp:Content>
